<template>
    <div class="wrapper">
      <myHeader :obj="myObj" @events="events"></myHeader>
      
    </div>
    
</template>
<script>
import myHeader from './base/myHeader';
export default {
  data () {
    return {
      myObj: {
        type: 2,
        text: "行家"
      }
    }
  },
  methods: {
    events(i){
      if(i == 2){
         history.back();
      }

    }
  },
  components: {
    myHeader,
  }
}

</script>
<style lang="less">
  .wrapper {
    width: 3.75rem;
    
  }
</style>
